package com.neuedu.carsystem.model;

import java.util.Date;


public class Employee {
	// 员工编号
	private int empno;
	// 员工姓名
	private String ename;
	// 员工年龄
	private int age;
	// 员工性别
	private String sex;
	// 员工入职日期
	private Date hiredate;
	// 员工薪资
	private int esal;
	// 职位编号
	//private int jno;
	// 用于关联job表
	private Job job;
	public Employee(int empno, String ename, int age, String sex, Date hiredate, int esal, Job job) {
		super();
		this.empno = empno;
		this.ename = ename;
		this.age = age;
		this.sex = sex;
		this.hiredate = hiredate;
		this.esal = esal;
		this.job = job;
	}
	public Employee() {
		super();
	}
	public int getEmpno() {
		return empno;
	}
	public void setEmpno(int empno) {
		this.empno = empno;
	}
	public String getEname() {
		return ename;
	}
	public void setEname(String ename) {
		this.ename = ename;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Date getHiredate() {
		return hiredate;
	}
	public void setHiredate(Date hiredate) {
		this.hiredate = hiredate;
	}
	public int getEsal() {
		return esal;
	}
	public void setEsal(int esal) {
		this.esal = esal;
	}
	public Job getJob() {
		return job;
	}
	public void setJob(Job job) {
		this.job = job;
	}
}
